  <section role="main" class="page-wrapper">

    <article class="content-box minimizer">
      <header>
        <h2>Data dump</h2>
      </header>
      <section>

        <!-- Tab Content #tab1 -->
        <div class="tab default-tab" id="tab1">

					<form method="post" action="<?php echo url_for($sf_context->getModuleName().'/start') ?>" target="_blank">
					  <fieldset>
					    <legend>Fields to dump</legend>
					    <?php foreach($columns as $column=>$desc): ?>
              <p style="float:left; width:300px;">
                <input type="checkbox" id="column_<?php echo $column ?>" name="column[<?php echo $column ?>]" value="1" checked="checked" />
                <label for="column_<?php echo $column ?>"><?php echo $column ?></label>
              </p>
					    <?php endforeach; ?>
                <div style="clear:both"></div>
					  </fieldset>

					  <fieldset>
					    <legend>Filters</legend>
              <p style="float:left; width:300px;">
                <input type="checkbox" id="filter_ghp_subscriber" name="filter[ghp_subscriber]" value="Yes" />
                <label for="filter_ghp_subscriber">ghp_subscriber</label>
              </p>
              <p style="float:left; width:300px;">
                <input type="checkbox" id="filter_mds_subscriber" name="filter[mds_subscriber]" value="Yes" />
                <label for="filter_mds_subscriber">mds_subscriber</label>
              </p>
              <div style="clear:both"></div>
					  </fieldset>
            
            <fieldset>
              <legend>Segments</legend>
              <p style="float:left; width:300px">
                <input type="text" name="segment[]" />
              </p>
              <div style="clear:both"></div>
            </fieldset>

            <input type="submit" value="Dump" />

					</form>


        </div>


      </section>

    </article>


  </section>


  <script>

  </script>